
// 管理项目用户相关接口
import service from "./service";
// 用户相关请求地址
const API = {
  GET_ATTR_URL: '/attribute',
  ADD_ATTR_URL: '/attribute/add',

}
export const getAttrAPI = () => service.get(API.GET_ATTR_URL)
export const updateAttrAPI = (data) => service.put(API.GET_ATTR_URL, data)
export const addAttrAPI = (data) => service.post(API.ADD_ATTR_URL, data)
export const deleteAttrAPI = (id) => service.delete(API.GET_ATTR_URL + `/${id}`)
